package sk.tuke.constraintbuilder.builder.resourcemodel;

/**
 * Created by IntelliJ IDEA.
 * User: Brano
 * Date: 17.4.2011
 * Time: 17:12
 */
public class EnumConstElement extends ContainerElement {
    private String name;

    public EnumConstElement(String name) {
        this.name = name;
    }

    @Override
    public String generateXML() {
        return
        "<enum_const" + addXMLAttr("name", name) + ">"
              + generateXMLSubElements() +
        "</enum_const>";
    }
}
